import type { PromiseRes } from "@/api/response";
// import { http } from "@/utils/http";

export class K8sSummary {
  getResources(): PromiseRes<any> {
    // return http.get("");
    throw new Error("Method not implemented.");
  }
}

export interface ResourceSummaryData {
  nodes?: number | null;
  namespaces?: number | null;
  pods?: number | null;
  deployments?: number | null;
  services?: number | null;
  persistentVolumes?: number | null;
  pvcs?: number | null;
  statefulSets?: number | null;
  daemonSets?: number | null;
  configMaps?: number | null;
  secrets?: number | null;
  ingresses?: number | null;
  // Add keys corresponding to the Go model
}
